/**
 *
 *  @auth xlx_good@qq.com
 *  @date 17/6/15.
 *
 */
(function(win, undefined){
    var config = {
		host: 'http://static.xiongmao1718.com/'
    };
	var wareStatusList = [
		{id: 1, name: '草稿'},
		{id: 2, name: '未上架'},
		{id: 3, name: '已上架'},
		{id: 4, name: '已删除'},
		{id: 5, name: '待审核'},
		{id: 6, name: '审核不通过'}
	];
	var wareStatusMap = {
		'1': '草稿',
		'2': '未上架',
		'3': '已上架',
		'4': '已删除',
		'5': '待审核',
		'6': '审核不通过',
	};
	var orderSubStatusList = [
		{id: 1, name: '待支付'},
		{id: 2, name: '待发货'},
		{id: 3, name: '待收货'},
		{id: 4, name: '交易完成'},
		{id: 9, name: '交易关闭'}
	];
	var orderSubStatusMap = {
		'1': '待支付',
		'2': '待发货',
		'3': '待收货',
		'4': '交易完成',
		'9': '交易关闭'
	};
	var invoiceTypeMap = {
		'1': '增值税发票',
		'2': '个人',
		'3': '普票',
		'4': '电子发票'
	};
    win.config = config;
	win.wareStatusList = wareStatusList;
	win.wareStatusMap = wareStatusMap;
	win.orderSubStatusList = orderSubStatusList;
	win.orderSubStatusMap = orderSubStatusMap;
	win.invoiceTypeMap = invoiceTypeMap;
})(window)